package com.vegas.netspider;

public class ApplicationContext {
	public static final String appContextBeanName="context";

	private String domainUrl;
	
	private String username;
	
	private String password;
	
	private String sessionId;
	
	private String langx;
	
	private long webClosedTimeFrom;
	private long webClosedTimeTo;
	
	private boolean isReady = false;
	
	public void ready(){
		this.isReady = true;
	}
	public void stop(){
		this.isReady = false;
	}
	public boolean isReady(){
		return isReady;
	}
	

	public String getDomainUrl() {
		return domainUrl;
	}

	public void setDomainUrl(String domainUrl) {
		this.domainUrl = domainUrl;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getLangx() {
		return langx;
	}

	public void setLangx(String lang) {
		this.langx = lang;
	}

	public long getWebClosedTimeFrom() {
		return webClosedTimeFrom;
	}

	public void setWebClosedTimeFrom(long webClosedTimeFrom) {
		this.webClosedTimeFrom = webClosedTimeFrom;
	}

	public long getWebClosedTimeTo() {
		return webClosedTimeTo;
	}

	public void setWebClosedTimeTo(long webClosedTimeTo) {
		this.webClosedTimeTo = webClosedTimeTo;
	}
	
	
}
